package com.avantis.admin.service;

import com.avantis.common.base.BaseService;
import com.avantis.common.entity.Permission;
import com.avantis.common.entity.Role;
import com.avantis.common.msg.YResult;
import org.springframework.data.domain.Page;

import java.util.List;

/**
* @Description:    java类作用描述
* @Author:         kirago
* @CreateDate:     2018/11/26 10:46 PM
* @UpdateRemark:   修改内容
* @Version:        1.0
*/
public interface RoleService extends BaseService<Role> {

    Page<Role> findByPage(int pageNo, int length);

    void saveRolePermission(Integer roleid, Permission[] perms);

}
